package com.meida.module.bus.client.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.meida.common.mybatis.base.entity.AbstractEntity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.meida.common.mybatis.annotation.TableAlias;

/**
 * 分包计划关联SRM表
 *
 * @author flyme
 * @date 2020-10-21
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bus_package_srm")
@TableAlias("bps")
@ApiModel(value="BusPackageSrm对象", description="分包计划关联SRM表")
public class BusPackageSrm extends AbstractEntity {

private static final long serialVersionUID=1L;

    @TableId(value = "srmPackageId", type = IdType.AUTO)
    private Long srmPackageId;

    @ApiModelProperty(value = "分包计划关联主键")
    private Long materialPackageId;

    @ApiModelProperty(value = "项目ID")
    private Long projectId;

    @ApiModelProperty(value = "项目编码")
    private String projectCode;

    @ApiModelProperty(value = "项目名称")
    private String projectName;

    @ApiModelProperty(value = "专业代码")
    private String majorCode;

    @ApiModelProperty(value = "专业名称")
    private String majorName;

    @ApiModelProperty(value = "工程包代码")
    private String packageCode;

    @ApiModelProperty(value = "工程包名称")
    private String packageName;

    @ApiModelProperty(value = "供应商Id")
    private Long supplierId;

    @ApiModelProperty(value = "供应商编码")
    private Integer supplierCode;

    @ApiModelProperty(value = "供应商名称")
    private String supplierName;

    @ApiModelProperty(value = "合同ID")
    private Long contractsId;

    @ApiModelProperty(value = "合同编码")
    private String contractNo;

    @ApiModelProperty(value = "合同名称")
    private Long contractsmatdtlId;

    @ApiModelProperty(value = "合同行号")
    private Integer contractRowno;

    @ApiModelProperty(value = "采购订单ID")
    private Long purchaseorderId;

    @ApiModelProperty(value = "采购订单编码")
    private String purchaseorderNo;

    @ApiModelProperty(value = "采购订单明细ID")
    private Long purchaseOrderDetailId;

    @ApiModelProperty(value = "采购订单行号")
    private Integer purchaseorderRowno;

    @ApiModelProperty(value = "送货单关联ID")
    private Long deliveryRef;

}
